<?php

namespace Lib;

use Sdk\lib\Core;

class Site {

	public static function __callStatic($name, $arguments) {
		return Core::RequestWit(__CLASS__, $name, $arguments, Core::Type_StaticMethod);
	}

	// 本地开发不需要校验，永远返回成功
	public static function AdminSignCheck() {
		return array('uid' => 1);
	}

	public static function GetSetting() {
		$settingValue = array();
		$file = PLUGIN_PATH . 'conf/setting.php';
		if (file_exists($file)) {
			include $file;
		}
		return $settingValue;
	}

}